package syntaxtree;
import visitor.IRTreeCreator;
import visitor.Visitor;
import visitor.TypeVisitor;

public class Block extends Statement {
	public StatementList sl;

	public Block(StatementList asl) {
		sl=asl;
	}

	public void accept(Visitor v) {
		v.visit(this);
	}

	public Type accept(TypeVisitor v) {
		return v.visit(this);    
	}

	public tree.Exp accept(IRTreeCreator v) {
		return v.visit(this);
	}

}